import { useNavigate } from 'react-router-dom'
// import { Button } from 'antd'

import '../index.less'

// import Error404 from '/@/assets/svg/404.svg'
export default function Index() {
    const navigate = useNavigate()
    const goHome = () => {
        navigate('/index')
    }
    return (
        <div className="error-card">
            {/* <img src={Error404} alt="" />
            */}
            <h3>404</h3>
            {/* <Button type="primary" className="!text-[12px]" onClick={goHome}>
                回到首页
            </Button> */}
        </div>
    )
}
